import { createApp } from 'vue'
import App from './App.vue'
import cookiePlugin from '../plugins/cookie'
import { setupAxios } from '../plugins/axios'
import router from './router'
import store from './store'
import elementPlusPlugin from '../plugins/element'

const app = createApp(App)
app.use(cookiePlugin)
setupAxios(app)
app.use(store)
app.use(router)
app.use(elementPlusPlugin) // 使用Vue 3标准的插件注册方式
app.mount('#app')

